package com.diandireader.domain;

import android.graphics.Color;

/**
 * 
 * @author mayh
 *
 */
public class DiandiReaderVO {
	//cfg file name
	public static final String SETTING = "diandireaderCfg";
	//book readed position remember
	public static final String READPOSITION = "readPositionCfg";
	//save the position of the book be imported
	public static final String BOOKPOSITION = "saveBookPositionCfg";
	//judge whether first time to use
	public static final String INITSTATE = "initState";
	public static final String INITSTATE_UNINIT = "0";
	public static final String INITSTATE_INITED = "1";
	//the view type
	public static final String VIEWTYPE = "viewType";
	public static final String VIEWTYPE_LSIT = "0";
	public static final String VIEWTYPE_ICON = "1";
	//
	public static final String TOTALSKIPBYTES = "totalSkipBytes";
	public static final String TOATLSKIPCHARS = "totalSkipChars";
	public static final String FONTCOLOR = "color";
	public static final String FONTSIZE = "size";
	public static final int FONTCOLOR_DEFAULT = Color.parseColor("#181816");
	public static final float FONTSIZE_DEFAULT = 16;
	//handler message
	public static final int MESSAGE_SCROLLING = 0;
	public static final int MESSAGE_SCROLLSTOP = 1;
	//reader bottom height
	public static final int BOTTOM_HEIGHT = 15;
	
	//reader background
	public static final String BACKGROUNDIMAGE = "backgroundImage";
	public static final int BACKGROUNDIMAGE_DAY = 0;//day
	public static final int BACKGROUNDIMAGE_NIGHT = 1;//night
}
